package com.aier.user.service;

import java.util.List;
import java.util.Map;

import com.aier.user.entity.Follow;




public interface ICloseFriendService {
    
    /**
     * 添加密友
     * @param uid
     * @param auid
     * @param remark
     * @return
     */
    int insertFriend(Long uid,Long auid,String content);
    
    /**
     * 修改关注或密友的备注名
     * @param uid
     * @param auid
     * @param remark
     * @return
     */
    int updateRemark(Long uid,Long auid,String remark,Integer type);
    
    /**
     * 取消密友（批量）
     * @param uid
     * @param auidStr
     * @return
     */
    int deleteFriend(Long uid,String auidStr,Short flag);
    
    /**
     * 获取所有的密友信息
     * @param page
     * @param pagesize
     * @param uid
     * @return
     */
    Map<String,Object> searchAllFriend(int page,int pagesize,Long uid);
    
    /**
     * 获取关注但不是密友的列表
     * @param uid
     * @return
     */
    List<Follow> searchFollowNotFriend(Long uid);
    
}
